package cn.broadsense.thrid.param;

import cn.broadsense.thrid.result.FaceAlarmListResult;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 人像告警列表
 *
 * @author pengxin
 * @date 2022-10-12 17:31
 */
@NoArgsConstructor
@Data
public class FaceAlarmListParam extends BasePageParam {


    private static final long serialVersionUID = 3151105813437737487L;

    private Integer count;
    private ConditionParam condition = new ConditionParam();
    private List<Map<String, Object>> order = new ArrayList<>();

    @Override
    public void checkParam() {

    }

    @Override
    public Class getResultClass() {
        return FaceAlarmListResult.class;
    }

    @NoArgsConstructor
    @Data
    public static class ConditionParam {
        private List<String> recordIds;
        private List<String> channelCodes;
        private String startAlarmTime;
        private String endAlarmTime;
        private String startCapTime;
        private String endCapTime;
        private String ageType;
        private BigDecimal startSimilarity;
        private Integer endSimilarity;
        private String idNumber;
        private String name;
        private String birthday;
        private List<String> repositoryIds;
        private Integer status;
        private Integer gender;
        private String fringe;
        private Integer glasses;
        private Integer eye;
        private Integer mouth;
        private Integer beard;
        private Integer mask;
        private Integer emotion;
        private List<String> vendor;
        private List<String> surveyIds;


    }
}
